﻿<Window x:Class="IISAppPoolTM.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="IIS Application pools" mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" Height="288" Width="361" ResizeMode="CanMinimize" WindowStartupLocation="CenterScreen" Icon="/IISAppPoolTM;component/Images/web-server.ico" WindowState="Minimized" Closed="Window_Closed">
    <Grid>
        <ListView HorizontalAlignment="Stretch" Margin="12,26,12,64" Name="_applicationPoolsListview" VerticalAlignment="Stretch" AlternationCount="1" ItemsSource="{Binding}">
            <ListView.View>
                <GridView AllowsColumnReorder="False">
                    <GridViewColumn Header="Name" DisplayMemberBinding="{Binding Name}" Width="175" />
                    <GridViewColumn Header="State" DisplayMemberBinding="{Binding State}" Width="125" />
                </GridView>
            </ListView.View>
        </ListView>
        <Label Content="Applicaiton pool list" Height="28" HorizontalAlignment="Left" Margin="12,0,0,0" Name="label1" VerticalAlignment="Top" Width="188" />
        <Button Content="Recycle" Height="23" HorizontalAlignment="Right" Margin="0,215,12,0" Name="_recycleButton" VerticalAlignment="Top" Width="75" Click="_recycleButton_Click" />
        <Button Content="Stop" Height="23" HorizontalAlignment="Left" Margin="140,215,0,0" Name="_stopButton" VerticalAlignment="Top" Width="75" Click="_stopButton_Click" />
        <Button Content="Start" Height="23" HorizontalAlignment="Left" Margin="12,215,0,0" Name="_startButton" VerticalAlignment="Top" Width="75" Click="_startButton_Click" />
        <CheckBox Content="Select all app pools" Height="15" HorizontalAlignment="Left" Margin="204,5,0,0" Name="checkBox1" VerticalAlignment="Top" Width="123" Checked="checkBox1_Checked" Unchecked="checkBox1_Unchecked" />
    </Grid>
</Window>
